package com.ybear.ybcomponent.widget.dialog;

import android.os.Bundle;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

/**
 * Dialog 生命周期
 */
public class DialogLifecycleAdapter implements DialogLifecycle {

    @Override
    public void onCreate(@NonNull DialogOption option, @Nullable Bundle savedInstanceState) {}

    @Override
    public void onViewCreate(@NonNull DialogOption option, @Nullable Bundle savedInstanceState) {}

    @Override
    public void onStart(@NonNull DialogOption option) {}

    @Override
    public void onStop(@NonNull DialogOption option) {}

    @Nullable
    @Override
    public Bundle onSaveInstanceState(
            @NonNull DialogOption option, @Nullable Bundle outState
    ) { return null; }

    @Override
    public void onRestoreInstanceState(
            @NonNull DialogOption option, @NonNull Bundle savedInstanceState
    ) {}
}
